favourite_languages0 = {
    'jen': 'python',
    'sarah': 'c',
    'edward': 'ruby',
    'phil': 'python',
    }

favourite_languages1 = {
    'jen': 'python',
    'sarah': 'c',
    'edward': 'ruby',
    'phil': 'python',
    }

user_0 = {
    "list1": favourite_languages0,
    "list2": favourite_languages1
}

for k, v in user_0.items():
    print(f"\n{k}")
    for k1, v1 in v.items():
        print(f"\t{k1}")
        print(f"\t{v1}")